package com.poe.controller.timer;

import com.poe.entity.Book;
import com.poe.mapperDao.read.book.ReadBookDao;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by Administrator on 2017/11/10.
 */
public class FindBookTimer {
    @Autowired
    ReadBookDao readBookDao;

    public void findBook(){
        List<Book> books = readBookDao.findAllBook();
        System.out.println(books);
    }

}
